
public class MapTester {
	
	public static final int NODES_NUMBER = 3;

	public static void main(String[] args) {
				
		Map mapTest = new Map(NODES_NUMBER);
		for (int i = 0; i < NODES_NUMBER; ++i)
			for (int j = 0; j < NODES_NUMBER; ++j)
				mapTest.setDistance(i, j, i+j);

		System.out.println(mapTest.toString(NODES_NUMBER));
		
	}

}
